package kr.co.doriclassic.lab07;
public class BankAccount {
	private int iBalance;
	private static double dRate;
	static{
		dRate=0.0;
	}	
	public void deposit(int amount){
		iBalance+=amount;
	}
	public void  withDraw(int amount){
		if(iBalance>=amount||iBalance>0)
			iBalance-=amount;	
		else 
			System.out.println("잔액부족");
	}
	public void addInterest(){
		iBalance+=(iBalance*0.75);
	}	
	public int getBalence(){
		return iBalance;
	}	
}